@import "common/mixin";

.context {
    width: 100%;
    padding-top: 60px;
}

.state {
    width: 100%;
    height: 7rem;
    background-color: black;
    padding-top: 1rem;
    color: white;
    position: relative;
    & > div {
        width: 50%;
        float: left;
        height: 5rem;
        text-align: center;
    }
    p {
        color: white;
    }
}

.one, .two, .three {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: .5rem;
    text-align: center;
    line-height: 2.5rem;
    border: 2px solid white;
    border-radius: 50%;
}

.one {
    color: black;
    background-color: white;
}

.gang1 {
    position: absolute;
    width: 30%;
    top: 2.2rem;
    left: 35%;
}

.gang2 {
    position: absolute;
    width: 17%;
    top: 2.2rem;
    right: 25%;
}

.select {
    background-color: white;
    & > p {
        width: 100%;
        height: 3rem;
        font-size: .9rem;
        color: black;
        line-height: 3rem;
        text-indent: 1rem;
        &:nth-child(1) {
            border-bottom: 1px solid #cccccc;
        }
    }
}

.button {
    width: 100%;
    height: 6rem;
    background-color: #efeef4;
    text-align: center;
    & > button {
        background-color: #7d0000;
        width: 70%;
        height: 2rem;
        border-radius: .3rem;
        margin-top: 2rem;
        color: white;
        font-size: .8rem;
    }
}

.context2 {
    width: 100%;
    padding-top: 44px;
}

.message {
    & > div {
        height: 2.5rem;
        //border-bottom: 1px solid #cccccc;
        background-color: white;
        position: relative;
        @include border-1px(#ccc);
        p {
            position: absolute;
            left: 0;
            top: 0;
            width: 40%;
            height: 2.5rem;
            float: left;
            font-size: .6rem;
            color: black;
            text-indent: .6rem;
            &:before {
                content: "";
                height: 100%;
                vertical-align: middle;
                display: inline-block;
            }
        }
        input {
            width: 48%;
            height: 2.5rem;
            margin: 0;
            float: right;
            vertical-align: middle;
            border: none;
            background-color: transparent;
            /*text-indent: 20%;*/
            font-size: 14px;
            color: #7d0000;
            text-align: right;
            padding-right: .5rem;
        }
        .s-monney {
            color: #7F0000;
            float: right;
            line-height: 50px;
            padding-right: .5rem;
        }
    }
}

select {
    width: 60%;
    height: 2.5rem;
    margin: 0;
    padding: 0;
    float: right;
    vertical-align: middle;
    border: none;
    background-color: transparent;
    text-indent: 20%;
    color: #7d0000;
    & > option {
        text-align: center;
    }
}

.yan {
    height: 2.5rem;
    border-bottom: 1px solid #cccccc;
    background-color: white;
    position: relative;
    & > div {
        float: left;
        &:nth-child(2) {
            width: 40%;
            height: 100%;
        }
    }
}

.yan-input {
    width: 60%;
    height: 100%;
}

.yan {
    div {
        input {
            margin-bottom: 0;
            width: 80%;
            margin-left: .6rem;
            height: 2rem;
            padding-left: 2rem;
        }
        button {
            width: 80%;
            height: 2rem;
            vertical-align: middle;
            background-color: #f8bc02;
            color: white;
        }
        &:before {
            content: "";
            height: 100%;
            vertical-align: middle;
            display: inline-block;
        }
    }
    img {
        position: absolute;
        width: 1rem;
        top: .8rem;
        left: 1rem;
    }
}

/*第2步页面*/
.context3 {
    width: 100%;
    padding-top: 44px;
}

.context3 > p:nth-child(2) {
    color: #7d0000;
    margin-top: 4rem;
    font-size: 1.2rem;
    text-align: center;
}

.context3 > p:nth-child(3) {
    color: black;
    margin-top: 1rem;
    font-size: .6rem;
    text-align: center;
}

#credit, select {
    vertical-align: middle;
    padding-right: .5rem;
    text-indent: 0%;
    direction: rtl;
}

#credit {
    width: 70%;
}